package cn.ulc.store.dao;
import cn.ulc.store.entity.*;

import org.beetl.sql.core.annotatoin.SqlResource;
import org.beetl.sql.core.engine.PageQuery;

import java.util.List;

/*
* Coupon
* gen by Jin mapper 2019-05-28
*/
@SqlResource("coupon")
public interface CouponDao extends BaseDao<Coupon> {
    PageQuery findListPage(PageQuery pageQuery);

    Coupon findDetail(Long id);

    Coupon findByType(Long companyId,String type);

    List<Coupon> findListByType(Long companyId,String type);
}
